package com.example.makerspace.dto;

import com.example.makerspace.model.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;
import java.util.List;


@EqualsAndHashCode(callSuper = true)
@Data
public class ApplicationV2DTO extends BaseDTO {
    private Integer id;
    //用户名
    private String username;
    //企业名称
    private String bizName;
    //联系人
    private String contact;
    //联系方式
    private String phone;

    private  String  nickName;
    //企业性质
    private String bizType;
    //企业简介
    private String bizOverview;
    //所属地域
    private String region;
    //相关产品及技术先进性介绍
    private String advIntro;
    //有无知识产权
    private Boolean haveIp;
    //知识产权类型
    private String ipType;
    //专利类型
    private String patentType;
    //已授权专利
    private List<GrantedPatent> grantedPatents;
    //已受理专利
    private List<PendingPatent> pendingPatents;
    //获得软件著作权情况
    private List<Software> softwareStatus;
    //发表论文情况
    private List<String> publications;
    //团队成员
    private List<TeamMember> teamMembers;
    //报名状态
    private String status;
    //状态时间线
    private List<ApplicationStatus> statusLine;
    //历史失败原因
    private List<FailMsg> failHistory;
    //是否失败
    private Boolean fail;
    //失败原因
    private String msg;
    //赛题ID
    private Integer competitionId;
    //赛题情况
    private CompetitionDTO competitionDTO;
    //父赛题id
    private Integer competitionParentId;
    //附件
    private MultipartFile attachments;
    //审核反馈
    private  String  reviewFeedback;

    private Integer isAuthentication;

    private String authenticationType;

    private  String  competitionStatus;

    private  MultipartFile  avatar;

    private  String competitionName;
}



